@model Decimal?
@{

    var descriptor = ViewData.ModelMetadata.AdditionalValues["ViewPortDescriptor"] as Easy.ViewPort.Descriptor.BaseDescriptor;
}
@Html.TextBox("", Model?.ToString("f2"),descriptor.ToHtmlProperties())